import useDogImages from "./useDogImages";

export default function DogImages() {
  const dogImages = useDogImages();

  return (
    <>
    {
      dogImages.map((dogImage, index) => {
        return (<img src={dogImage} key={index} alt="Dog" />)
      })
      ?? <div>无图片</div>
    }
  </>
  )
}